package com.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * hydropower
 * @author 
 */
@Data
public class Hydropower implements Serializable {
    private Integer page;
    private Integer limit;
    private Integer id;

    private String uuid;

    private Integer plotid;

    private Integer itemid;

    private Double up;

    private Double now;

    private Double paymoney;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String paytime;

    private Owners owners;
    private Item item;
    private Plot plot;
    private static final long serialVersionUID = 1L;
}